@include "misc.awk"
@include "args2opt.awk"

BEGIN  { CONVFMT="%.8g"; OFS = FS = ","; args2opt("seed=1",Opt) }
line() { sub(/^=/,"") ? header() : Row[++rand()] =$0   } 
END    { for(R in Row) print Row[R] }

function header() { seed(Opt["Seed"]); print "=" $0 }
